package com.maxlen.order.feign;

import com.maxlen.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("store-goods")
public interface GoodsFeignService {

    /**
     * 根据多个 skuId 获取 spu 信息封装返回
     * @param skuIdList
     * @return
     */
    @PostMapping("/goods/skuinfo/getSpuBySkuIdList")
    R getSpuBySkuIdList(@RequestBody List<Long> skuIdList);

}
